package cn.stylefeng.guns.sys.modular.system.db7.service.impl;

import cn.stylefeng.guns.sys.modular.system.db7.mapper.DgdReemployMapper;
import cn.stylefeng.guns.sys.modular.system.db7.model.result.DgdReemployResult;
import cn.stylefeng.guns.sys.modular.system.db7.service.DgdReemployService;
import cn.stylefeng.guns.sys.modular.system.entity.BtyReemploy;
import cn.stylefeng.guns.sys.modular.system.model.result.ArchivesResult;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 再次入职人员服务实现类
 * </p>
 *
 * @author tz
 * @since 2022-05-05
 */
@Service
public class DgdReemployServiceImpl  implements DgdReemployService {

    @Resource
    private DgdReemployMapper dgdReemployMapper;

    @Override
    public List<DgdReemployResult> getEntryEmpList(int dayNum) {
        return dgdReemployMapper.getEntryEmpList(dayNum);
    }

    @Override
    public List<ArchivesResult> getLeaveEmpList(List<BtyReemploy> reemploys) {
        return dgdReemployMapper.getLeaveEmpList(reemploys);
    }
}
